package httpHandle

import (
	"github.com/gin-gonic/gin"
	"github.com/wzh200x/webServer/middleware/response"
)

type HandleAccount struct {
	Name string `json:"name"`
}

func HandleTest(c *gin.Context) {
	success, _ := response.GetResponseFuncs(c)
	back := HandleAccount{
		Name: "wzh",
	}
	success(back)
	// success(gin.H{
	// 	"message": "pong",
	// })
}
